package com.meefo.meeting.persistence.bean;

public class Key {
    private String requestKey;

    private String appKey;

    private String secretKey;

    private String requestTime;

    public String getRequestKey() {
        return requestKey;
    }

    public void setRequestKey(String requestKey) {
        this.requestKey = requestKey == null ? null : requestKey.trim();
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey == null ? null : appKey.trim();
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey == null ? null : secretKey.trim();
    }

    public String getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(String requestTime) {
        this.requestTime = requestTime == null ? null : requestTime.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", requestKey=").append(requestKey);
        sb.append(", appKey=").append(appKey);
        sb.append(", secretKey=").append(secretKey);
        sb.append(", requestTime=").append(requestTime);
        sb.append("]");
        return sb.toString();
    }
}